package cn.kgc.spring.mapper;

import cn.kgc.spring.entity.User;
import org.springframework.stereotype.Repository;

/**
 * @author: mosin
 * @version: v1.0  2022/7/1
 */
@Repository
public class UserMapperImpl implements UserMapper {
    @Override
    public User login(User user) {
        System.out.println(" UserMapperImpl  :   select * from user where username = "+user.getUsername()+" and password = "+user.getPassword());
        return user;
    }
}
